Some tips given out to ease learning.
First Come First Serve (FCFS)
Whatever comes first, gets done first
Non-Preemptive Shortest Job First (NPSJF)
Do whatever that takes the least time, then find the next shortest job
Preemptive Shortest Job First (PSJF)
Preemptive Shortest Job Next (PSJN)
Shortest Remaining Time First (SRT)
Do whatever that takes the least time, interupting current job if theres a shorter one
Round Robin (RR)
Do the job for a certain amount of time, then put it at the back if it is not finished
Non-Preemptive Priority Scheduling (NPPS)
Do jobs based on priority, 1 job at a time
Preemptive Priority Scheduling (PPS)
Do jobs based on priority, interupting current job if theres a higher priority one
Turnaround Time
Turnaround time = Finish Time - Arrival Time
Waiting Time
Waiting Time = Turnaround Time - CPU Burst Time